Skip to content

clean up PyPI metadata #1480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 10, 2019
Merged

clean up PyPI metadata #1480

merged 2 commits into from
Apr 10, 2019

Conversation

nicolaskruchten
Copy link
Contributor

No description provided.

long_description=readme(),
long_description_content_type="text/markdown",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This enables us to use Markdown

classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we're there!

@@ -394,17 +394,20 @@ def run(self):
maintainer='Chris P',
maintainer_email='[email protected]',
url='https://plot.ly/python/',
description="Python plotting library for collaborative, "
"interactive, publication-quality graphs.",
project_urls={"Github": "https://github.com/plotly/plotly.py"},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just gets a bit more metadata on the PyPI page to show up automatically

@@ -30,7 +30,7 @@ def plotly_js_version():


def readme():
with open('README.rst') as f:
with open('README.md') as f:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what's on Github by default and is much more up to date than the one on PyPI

@@ -1,5 +1,5 @@
[metadata]
description-file = README.rst
description-file = README.md
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unsure about the impact of this...

setup.py Outdated
@@ -394,17 +394,20 @@ def run(self):
maintainer='Chris P',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should consider making this @jonmmease

Copy link
Contributor

@jonmmease jonmmease left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for the cleanup @nicolaskruchten

@jonmmease jonmmease merged commit 5f27aec into master Apr 10, 2019
@nicolaskruchten
Copy link
Contributor Author

Might be worth a push to test.pypi.org first to check that the formatting etc looks good?

@nicolaskruchten nicolaskruchten deleted the setup_meta_cleanup branch June 19, 2020 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants